﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    
    public class RoomTypeModel
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 房型名称
        /// </summary>
        public string? RoomTypName { get; set; }
        /// <summary>
        /// 售价
        /// </summary>
        public decimal Money { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal Ansy { get; set; }
        public string? Photo { get; set; }
        /// <summary>
        /// 是否加床
        /// </summary>
        public int IsExtrabed { get; set; }
        /// <summary>
        /// 是否含早餐
        /// </summary>
        public int Isbreakfast { get; set; }
        /// <summary>
        /// 可住人数
        /// </summary>
        public int Number { get; set; }
        /// <summary>
        /// 房间介绍
        /// </summary>
        public string? Desc { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
        /// <summary>
        /// 房间状态 1启用 0禁用
        /// </summary>
        public int State {  get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Createtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Updatetime { get; set; } = DateTime.Now;

    }
}
